	<!-- BEGIN header -->
	<include file="public:header" />
	<!-- END header -->

	<!-- BEGIN CONTAINER -->

	<div class="page-container row-fluid">
		{$left_menu}
		<!-- BEGIN PAGE -->

		<div class="page-content">

			

			<!-- BEGIN PAGE CONTAINER-->        

			<div class="container-fluid">

				<!-- BEGIN PAGE HEADER-->

				<div class="row-fluid">

					<div class="span12">

						<!-- BEGIN STYLE CUSTOMIZER -->

						<!-- END BEGIN STYLE CUSTOMIZER -->  

						<!-- BEGIN PAGE TITLE & BREADCRUMB-->
						<include file="public:breadcrumb" />
						<!-- END PAGE TITLE & BREADCRUMB-->
						
						<!-- BEGIN sub_menu -->
						<include file="public:sub_menu" />
						<!-- END sub_menu -->

					</div>

				</div>

				<!-- END PAGE HEADER-->

				<!-- BEGIN PAGE CONTENT-->
				<div class="row-fluid">

					<div class="span12">

						<!-- BEGIN VALIDATION STATES-->

						<div class="portlet box blue">

							<div class="portlet-title">

								<div class="caption"><i class="icon-reorder"></i></div>

								<div class="tools">

									<a href="javascript:;" class="collapse"></a>

								</div>

							</div>

							<div class="portlet-body form">

								<!-- BEGIN FORM-->

								<form action="{:U(MODULE_NAME.'/jsafe',array('menuid'=>$_GET['menuid'],'menupid'=>$_GET['menupid']))}" method="post" id="form_sample_1" class="form-horizontal" novalidate="novalidate">

									<div class="control-group">

										<div class="controls">

											<label class="checkbox">

											<input type="checkbox" value="index" name="type" class="mr5" data-uri="{:U(MODULE_NAME.'/jsafe')}"> 
											每个目录生成index.html
											<span class="help-inline" style="margin-top: 0px;">防止网站源码以及网站资源被窥探</span>
											<i id="index_ifm"></i>

											</label>

										</div>

									</div>
									
									<div class="control-group">

										<div class="controls">

											<label class="checkbox">

											<input type="checkbox" value="bom" name="type" class="mr5" data-uri="{:U(MODULE_NAME.'/jsafe')}"> 
											去掉BOM
											<span class="help-inline" style="margin-top: 0px;">当验证码或页面输出有异常时,可常试清理BOM头(执行暂慢)</span>
											<i id="bom_ifm"></i>

											</label>

										</div>

									</div>
									
									<div class="control-group">

										<div class="controls">

											<label class="checkbox">

											<input type="checkbox" value="admin" name="type" class="mr5" data-uri="{:U(MODULE_NAME.'/jsafe')}"> 
											<input id="zyb_adm_enter" placeholder="后台文件入口" type="text" value="{:C('zyb_adm_enter')}" size="10" class="">.php											<span class="help-inline" style="margin-top: 0px;">防止网站源码以及网站资源被窥探</span>
											<i id="admin_ifm"></i>

											</label>

										</div>

									</div>

									<div class="form-actions">

										<input type="button" id="J_clear_cache" class="btn btn_submit blue" value="执行"/>

										<a style="display:none" href="javascript:history.go(-1)" type="button" class="btn">取消</a>

									</div>

								</form>

								<!-- END FORM-->

							</div>

						</div>

						<!-- END VALIDATION STATES-->

					</div>

				</div>
				

				

				<!-- END PAGE CONTENT-->

			</div>

			<!-- END PAGE CONTAINER-->

		</div>

		<!-- END PAGE -->

	</div>

	<!-- END CONTAINER -->
	
	<!-- BEGIN FOOTER -->
	<include file="public:footer" />
	<!-- END FOOTER -->
<script>
$(function(){
    $('#J_clear_cache').live('click', function(){
        $('input[name="type"]:checked').each(function(){
            var type = $(this).val();
                uri = $(this).attr('data-uri');
                name=$("#zyb_adm_enter").val();
            $('#'+type+'_ifm').html('<span class="blue">请耐心等待..</span>');
            $.getJSON(uri, {type:type,name:name}, function(result){
                $('#'+type+'_ifm').addClass('icon-ok').html('执行成功');
            });
        });
    });
});
</script>
</html>